package com.whw.fy.mapper;

import com.whw.fy.entity.Supervisor;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SupervisorMapper {
    int deleteByPrimaryKey(Integer supervisorId);

    int insert(Supervisor record);

    int insertSelective(Supervisor record);

    Supervisor selectByPrimaryKey(Integer supervisorId);

    int updateByPrimaryKeySelective(Supervisor record);

    int updateByPrimaryKey(Supervisor record);

    int batchInsert(@Param("list") List<Supervisor> list);

    List<Supervisor> selectAll();
}